package com.android.wineshop;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageButton;

public class MainScreen extends Activity{
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        ImageButton category = (ImageButton)findViewById(R.id.image1);
        ImageButton product = (ImageButton)findViewById(R.id.image2);
        ImageButton order = (ImageButton)findViewById(R.id.image3);
        ImageButton customer = (ImageButton)findViewById(R.id.image4);
        ImageButton warehouse = (ImageButton)findViewById(R.id.image5);
        ImageButton about = (ImageButton)findViewById(R.id.image6);
        

        customer.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View v) {
				Intent customer = new Intent(MainScreen.this, CustomerScreen.class);
				startActivity(customer);
			}
		});
        
     
        
	}

	}


